﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CRMTraceTool
{
    public partial class Form2 : Form
    {
        private Form frm = null;
        public Form2(MainForm mainForm)
        {
            InitializeComponent();
            frm = mainForm;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string returntext = String.Empty;
            StringBuilder returnText = new StringBuilder();

            returnText.Append(cbError.Checked);

            MainForm parent = (MainForm)this.Owner;
            parent.updateColor(returntext);
            this.Close();
        }
    }
}
